<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>咨询详细信息</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<LINK href="<%=path %>/admin/css/admin.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="<%=path %>/admin/js/myJs.js"></script>
	<script type="text/javascript" src="<%=path%>/ckeditor/ckeditor.js"></script>
	<link href="<%=path %>/admin/css/myStyle.css" rel="stylesheet" type="text/css" />
	<style type="text/css">
		input{
			width: 300px;
		}
	</style>
  </head>
  
  <body>
   <TABLE cellSpacing=0 cellPadding=0 width="95%" align=center border=0>
  <TR height=20>
    <TD></TD></TR>
  <TR height=22>
    <TD style="PADDING-LEFT: 20px; FONT-WEIGHT: bold; COLOR: #ffffff" 
    align="center" background="<%=path %>/admin/images/title_bg2.jpg">咨询详细信息</TD></TR>
  <TR bgColor=#ecf4fc height=12>
    <TD></TD></TR>
  <TR height=20>
    <TD></TD></TR></TABLE>
    
    
<TABLE cellSpacing=0 cellPadding=2 width="95%" align=center border=0>
  <TR>
    <TD align=right width=100>咨询名称：</TD>
    <TD style="COLOR: #880000">${question.quesTitle }
    </TD></TR>	
    <TR>
    <TD align=right width=100>咨询内容：</TD>
    <TD style="COLOR: #880000">${question.quesContent }
    </TD></TR>	
	<TR>
    <TD align=right width=100>咨询日期：</TD>
    <TD style="COLOR: #880000">${question.quesDate }
    </TD></TR>	
  <TR>
    <TD align=right valign="top">回&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;答：</TD>
  
	<c:if test="${empty question.quesAnswer }">
			<td align="left">
			暂时还没有回答
			</td>
		</c:if>
		<c:if test="${not empty question.quesAnswer }">
		<td align="left">
			<div style="">
				${question.quesAnswer }
			</div>
		</td>
		</c:if>
   
    </TR>
    <tr align="center">
		<td colspan="2" align="center">
		<c:if test="${empty question.quesAnswer }">
			<button type="button" class="allDelete" onclick="window.location.href='question_preAnswer.html?question.quesId=${question.quesId}'">
			回答</button>
		</c:if>
			<button type="reset" class="allDelete" onclick="history.go(-1);">返回</button>
		</td>
	</tr>
 </TABLE>

  </body>
</html>
